When the solar wind - which is really a driving rain of charged particles from the sun - strikes Earth's protective magnetic field, the shock generates roiling, turbulent magnetic fields that enshroud the planet and stretch for hundreds of thousands of miles.